package org.yenn.pattern.aliyun.behavioral.visitor.impl;

import org.yenn.pattern.aliyun.behavioral.visitor.ComputerPart;
import org.yenn.pattern.aliyun.behavioral.visitor.ComputerPartVisitor;

/**
 * 步骤 2
 * 创建扩展了上述类的实体类。
 */
public class Monitor implements ComputerPart {
    @Override
    public void accept(ComputerPartVisitor computerPartVisitor) {
        computerPartVisitor.visit(this);
    }
}
